package com.yoso.log.infrastructure.dao.stock;

import com.yoso.base.infrastructure.dao.BaseMapper;
import com.yoso.log.domain.stock.StockLogEntity;
import com.yoso.log.domain.stock.StockLogEntityExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Mapper
@Repository
public interface StockLogEntityMapper extends BaseMapper<StockLogEntity, StockLogEntityExample> {
    @Override
    long countByExample(StockLogEntityExample example);

    @Override
    int deleteByExample(StockLogEntityExample example);

    @Override
    int deleteByPrimaryKey(String id);

    @Override
    int insert(StockLogEntity record);

    @Override
    int insertSelective(StockLogEntity record);

    @Override
    List<StockLogEntity> selectByExample(StockLogEntityExample example);

    @Override
    StockLogEntity selectByPrimaryKey(String id);

    @Override
    int updateByExampleSelective(@Param("record") StockLogEntity record, @Param("example") StockLogEntityExample example);

    @Override
    int updateByExample(@Param("record") StockLogEntity record, @Param("example") StockLogEntityExample example);

    @Override
    int updateByPrimaryKeySelective(StockLogEntity record);

    @Override
    int updateByPrimaryKey(StockLogEntity record);
}